package secondkill.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import secondkill.pojo.TGoods;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品返回对象
 * @Auther  丁子川
 * @create 2022/1/20 0:05
 */

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsVo extends TGoods {

    /**
     * 秒杀价
     */
    private BigDecimal secKillPrice;

    /**
     * 库存数量
     */
    private Integer stockCount;

    /**
     * 秒杀开始时间
     */
    private Date startDate;

    /**
     * 秒杀结束时间
     */
    private Date endDate;


}
